<template>
	<view class="page">
		<view class="page-content">
			<view class="from">
				<view class="from-item">
					<view class="from-item-title">院校</view>
					<view class="from-item-value">
						<input class="uni-input" v-model="fromData.yl"  disabled/>
					</view>
				</view>
				<view class="from-item">
					<view class="from-item-title">学院</view>
					<view class="from-item-value">
						<input class="uni-input"  v-model="fromData.yl1"  disabled/>
					</view>
				</view>
				<view class="from-item">
					<view class="from-item-title">实验室</view>
					<view class="from-item-value">
						<input class="uni-input" v-model="fromData.yl2"  disabled/>
					</view>
				</view>
			</view>
			<view class="card">
				<view class="head">故障设备</view>
				<view class="row column">
					<view class="title">故障照片</view>
					<view class="image-con">
						<image class="img" :src="$tool.loadImg(fromData.gztp1)" mode='widthFix'></image>
					</view>
				</view>
				<view class="row">
					<view class="title">故障类型</view>
					<view class="value">
						<input class="uni-input" v-model="fromData.gzlx"  disabled/>
					</view>
				</view>
				<view class="row">
					<view class="title">援引依据</view>
					<view class="value">
						<input class="uni-input" v-model="fromData.according"  disabled/>
					</view>
				</view>
				<view class="row">
					<view class="title">具体条款</view>
					<view class="value">
						<input class="uni-input" v-model="fromData.article"  disabled/>
					</view>
				</view>
				<view class="row">
					<view class="title">问题分析</view>
					<view class="value">
						<input class="uni-input" v-model="fromData.analysis"  disabled/>
					</view>
				</view>
				<view class="row">
					<view class="title">解决方案</view>
					<view class="value">
						<input class="uni-input" v-model="fromData.programme"  disabled/>
					</view>
				</view>
				<view class="row">
					<view class="title">巡检时间</view>
					<view class="value">
						{{$tool.formatDate(fromData.createTime,'yyyy/MM/dd') }}
					</view>
				</view>
				<view class="split"></view>
				<view class="row">
					<view class="title">维修状态</view>
					<view class="value">
						{{zbztName(fromData.clzt)}}
					</view>
				</view>
				<view class="row column">
					<view class="title">维修照片</view>
					<view class="image-con">
						<image class="img" :src="$tool.loadImg(fromData.gztp1)" mode='widthFix'></image>
					</view>
				</view>
			</view>
			
		</view>
	</view>
</template>
<script src='./index.js'></script>
<style lang="less" src="./index.less"></style>